08. Quiz: ROW_NUMBER & RANK
Ranking Total Paper Ordered by Account
Select the id
, account_id
, and total
variable from the orders
table, then create a column called total_rank
that ranks this total amount of paper ordered (from highest to lowest) for each account using a partition. Your final table should have these four columns.
Code
If you need a code on the https://github.com/udacity.